import { request } from "../index.js";

// 手机登录
export function phoneLogin(phone, password) {
  return request({
    url: `/login/cellphone?phone=${phone}&password=${password}`
  })
}

// 获取用户详情
export function userDetail(id) {
  return request({
    url: `/user/detail?uid=${id}`
  })
}